# 关于submit
# 如果type="submit",就可以用submit代替click(类似于表单操作)
from selenium import webdriver
import time
driver = webdriver.Chrome()
driver.get("https://www.baidu.com/")
driver.find_element_by_id("kw").send_keys("唐山")
driver.find_element_by_id("su").submit()
time.sleep(3)
driver.quit()
